<template>
  <header class='common-header container'>
    <div class="headerTop clearfix">
      <div class="logo fl">
        <img :src="logoData"
             title="橙果娱乐"
             alt="橙果娱乐"
             @click.stop.prevent="gotoHome('recommend')"
        />
      </div>
      <div class="section fr">
        <simple-nav></simple-nav>
      </div>
    </div>
  </header>
</template>

<script>
  import {gotoHome} from "@/mixins"

  import simpleNav from './SimpleNav'

  import logo from '@/assets/img/logo.png'

  export default {
    name: "commonHeader",
    mixins: [gotoHome],
    data() {
      return {
        logoData: logo
      }
    },
    components: {
      simpleNav
    }
  }
</script>

<style scoped>
  img {
    max-height: 61px;
  }
</style>
